//
//  YLYMainViewController.h
//  iAccounts
//
//  Created by 楊盧银Mac on 14-4-25.
//  Copyright (c) 2014年 com.yly16. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NVCalendar.h"
#import "DatabaseManager.h"
#import "SCNavigationController.h"
#import "sdkCall.h"

@interface YLYMainViewController : UIViewController<UITableViewDataSource,UITableViewDelegate,NVCalendarDelegate,SCNavigationControllerDelegate,UIImagePickerControllerDelegate,UINavigationControllerDelegate,UIActionSheetDelegate,UIAlertViewDelegate>
{
    NSDate *dtForMonth;
    int MonthNumber;
    int YearNumber;
    iBillNote *_currentNote;
    
    //>>>>>>>>>>>>>>>>>>>>>
    time_t                  loginTime;
    //日历
    NSIndexPath *caIndexPath;
}
@property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
@property (strong , nonatomic)NSMutableArray *billList;//最近的三笔账单
@property (strong , nonatomic)NSArray *daybillList;//一个月所有账单
@property (weak, nonatomic) IBOutlet UIButton *Synchronous;
@property (nonatomic ,strong)NVCalendar *nvClendar;
@property (nonatomic ,strong)UILabel *BillLabel;
@property (nonatomic ,strong)UIImageView *CellImageView;
@property (nonatomic ,strong)UILabel *CellMoneyLabel;
@property (strong , nonatomic)NSIndexPath *iIndexPath;

@property (strong , nonatomic)NSData *photoData;//图片选择
@property (strong , nonatomic)iBill *aBill;//图片选择


- (IBAction)SynchronousDataToNet:(UIButton *)sender;
- (IBAction)SearchBill:(UIButton *)sender;
@property (nonatomic,retain) CATransition *lastAnimation;


@end
